package com.cloud.pole.api.user;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class UserAuthorizedWxApi implements Serializable {
	
    /**
     * 状态（0：无效 1：有效）
     */
    public static int AUTHORIZED_STATUS_OK = 0;
    public static int AUTHORIZED_STATUS_INVALID = 1;
    
	
    /**
     * id
     */
    private Long authorizedId;

    /**
     * 用户名
     */
    private Long userId;

    /**
     * 登录用户名
     */
    private String userName;

    /**
     * 内部定义微信应用id
     */
    private Integer wxAppId;

    /**
     * 微信应用id
     */
    private String appId;

    /**
     * 微信open_id
     */
    private String openId;

    /**
     * 授权时间
     */
    private Date authorizedTime;

    /**
     * 状态（0：无效 1：有效）
     */
    private Integer authorizedStatus;

    /**
     * 备注
     */
    private String authorizedNote;

    private static final long serialVersionUID = 1L;

    public Long getAuthorizedId() {
        return authorizedId;
    }

    public void setAuthorizedId(Long authorizedId) {
        this.authorizedId = authorizedId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getWxAppId() {
        return wxAppId;
    }

    public void setWxAppId(Integer wxAppId) {
        this.wxAppId = wxAppId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Date getAuthorizedTime() {
        return authorizedTime;
    }

    public void setAuthorizedTime(Date authorizedTime) {
        this.authorizedTime = authorizedTime;
    }

    public Integer getAuthorizedStatus() {
        return authorizedStatus;
    }

    public void setAuthorizedStatus(Integer authorizedStatus) {
        this.authorizedStatus = authorizedStatus;
    }

    public String getAuthorizedNote() {
        return authorizedNote;
    }

    public void setAuthorizedNote(String authorizedNote) {
        this.authorizedNote = authorizedNote;
    }
}